﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OSA.Policlinic.UI.WFApplicationWCF.RegistryServiceReference
{
    public class Recipe : BusinessObjectBase
    {
        Survey _survey;
        private System.DateTime _recipeDate;

        public Recipe()
        {

        }

        public Recipe(int id, bool isDeleted, Survey survey, DateTime recipeDate):base(id, isDeleted)
        {
            _survey = survey;
            _recipeDate = recipeDate;
        }

        public Recipe(Survey survey, DateTime recipeDate)
        {
            _survey = survey;
            _recipeDate = recipeDate;
        }

        public System.DateTime RecipeDate
        {
            get
            {
                return this._recipeDate;
            }
            set
            {
                if ((this._recipeDate != value))
                {
                    this._recipeDate = value;
                }
            }
        }

        public Survey Survey
        {
            get
            {
                return this._survey;
            }
            set
            {
                if ((this._survey != value))
                {
                    this._survey = value;
                }
            }
        }

      

        

        
    }
	
}
